include $(DIR_PREFIX)/Makefile.inc

HEADERS += test.hpp

CU_CPP_FLAGS = $(CPP_FLAGS)
CU_INCLUDE = -I$(DIR_PREFIX)/include

TEST_FILES = $(shell ls -1 | grep -E "*\.cpp")
TEST_SRCS = $(filter %.cpp, $(TEST_FILES))
#TEST_OBJS = $(TEST_SRCS:.cpp=.po)
TEST_BINS = $(TEST_SRCS:.cpp=.bin)

all: $(TEST_BINS)
	./run_test.sh "$(TEST_BINS)"

clean:
	$(RM) -f *.bin *.po

%.bin: %.po
	$(CPP) -L$(DIR_PREFIX)/lib -o $@ $< -l2Desa
